* lisp/emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 4 Aug 2013 06:48:00 +0000 (02:48 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 4 Aug 2013 06:48:00 +0000 (02:48 -0400)
commitd59e5aeeab7ba376bd7056e110f7d694c8dd09a1
treef6f59bb81a00aaa42a7ab6c4f3a0e0435b8c15dc
parentc3a36e7afc0988d2c6a100f375f71342fd19b827
* lisp/emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
(advice-mapc): New function, using it.
(advice-function-member-p): New function.
(advice--normalize): Store the cdr in advice--saved-rewrite since
that's the part that will be changed.
(advice--symbol-function): New function.
(advice-remove): Handle removal before the function is defined.
Adjust to new advice--saved-rewrite.
(advice-member-p): Use advice-function-member-p and
advice--symbol-function.
lisp/ChangeLog
lisp/emacs-lisp/nadvice.el